import request from "@/utils/request";
/**
 * 根据id获取场馆信息
 * @returns {*}
 */

//获取列表数据
export function trainScheduleList(params) {
  return request({
    url: "/systemj/schedule/list",
    method: "get",
    params,
  });
}

// 新增日程
export function trainScheduleAdd(data) {
  return request({
    url: "/systemj/schedule/addSchedule",
    method: "post",
    data,
  });
}

// 编辑日程
export function trainScheduleUpdate(data) {
  return request({
    url: "/systemj/schedule/edit",
    method: "put",
    data,
  });
}

// 删除 日程
export function trainScheduleDel(data) {
  return request({
    url: "/systemj/schedule/delete",
    method: "delete",
    data,
  });
}
